package model

import (
	"time"
)

type BaseModel struct {
	ID        int64     `gorm:"primarykey;type:int" json:"id"`
	CreatedAt time.Time `gorm:"column:add_time" json:"-"`
	UpdatedAt time.Time `gorm:"column:update_time" json:"-"`
	DeletedAt time.Time `gorm:"index;column:delete_time" json:"-"`
	IsDeleted bool      `json:"-"`
}
